/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.cms.entity.Weathers;
import com.thinkgem.jeesite.modules.cms.dao.WeathersDao;

/**
 * 天气菜价Service
 * @author zhangpeng
 * @version 2016-10-26
 */
@Service
@Transactional(readOnly = true)
public class WeathersService extends CrudService<WeathersDao, Weathers> {

	public Weathers get(String id) {
		return super.get(id);
	}
	
	public List<Weathers> findList(Weathers weathers) {
		return super.findList(weathers);
	}
	
	public Page<Weathers> findPage(Page<Weathers> page, Weathers weathers) {
		return super.findPage(page, weathers);
	}
	
	@Transactional(readOnly = false)
	public void save(Weathers weathers) {
		super.save(weathers);
	}
	
	@Transactional(readOnly = false)
	public void delete(Weathers weathers) {
		super.delete(weathers);
	}

	public Weathers getWeather(){return dao.getWeather();}
	
}